#include<stdio.h>
int my_strlen(char *s)
{
    char *p = s;
    while(*p != '\0')
    {
        p ++;
    }
    return p - s;
}
int main()
{
    char a[10];
    scanf("%s", a);
    int n = my_strlen(a);
    printf("%d\n", n);
    return 0;
}